<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>转到对话框</title>
  <link rel="stylesheet" href="dlg-goto.css">
 </head>
<body>
<input type="button" id="popup" value="弹出对话框">
<hr>

<script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="dlg-goto.js"></script>
<script>
$(function(){
    let $btnDlg = $('#popup');

    $btnDlg.click(function(){
      $dlgGoto.show({
        title:'发送验证码',
        onClick:function(){console.log('timer button click');}
      });
    });
});
</script>
</body>
</html>
